#ifndef SSICLOUD_TRIP_DASHBOARD_H
#define SSICLOUD_TRIP_DASHBOARD_H

#include "ssicloud_item_object.h"

namespace ssicloud {
/**
 * @brief The TripDashboard class
 *  数据总览
 * @note 完成 -- 验证OK
 */
class TripDashboard : public ItemObject<TripNode>
{
public:
    TripDashboard();

    //! 获取数据总揽
    bool requestAll(const char *start = "2021-05-01", const char *end = "2021-05-31");

    //! 分析数据
    int genResult(NetBuffer *data);

    //! 调试信息
    void profile();

private:
    char m_body[1024];
};
}

#endif // SSICLOUD_TRIP_DASHBOARD_H
